#ifndef LDP_Noncopyable_h
#define LDP_Noncopyable_h

namespace LDP {

//C++ idioms :To prevent objects of a class from being copy-constructed or assigned to each other.
class Noncopyable 
{
protected:
	Noncopyable() {}
	~Noncopyable() {}
private:
	Noncopyable(const Noncopyable&);
	Noncopyable& operator=(const Noncopyable&);
};
}

using LDP::Noncopyable;
#endif